package com.alks.function.data.dto.finance.fincons;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 缴库明细
 */
@Getter
@Setter
@NoArgsConstructor
public class InventoryPaymentDetailsDto {
    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "缴库单位ID")
    private String deptNo;

    @ApiModelProperty(value = "缴库单位")
    private String deptName;

    @DateTimeFormat("yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "收料日期")
    private Date slipDate;

    @ApiModelProperty(value = "类型")
    private BigDecimal orderType;

    @ApiModelProperty(value = "类型")
    private String orderType2;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "缴库量")
    private BigDecimal qty;

    @ApiModelProperty(value = "总道序")
    private BigDecimal seqCount;

    @ApiModelProperty(value = "已报道序")
    private BigDecimal seqDidCount;

    @ApiModelProperty(value = "已报产量（工序已报最小产量）")
    private BigDecimal minQty;

    @ApiModelProperty(value = "工序已报最大产量")
    private BigDecimal maxQty;

}
